package br.biofoco.p2p.peer;

import java.io.IOException;

import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.DeserializationContext;
import org.codehaus.jackson.map.JsonDeserializer;

import br.biofoco.p2p.rpc.EndPoint;

public class EndPointJsonDeserializer extends JsonDeserializer<EndPoint> {

	@Override
	public EndPoint deserialize(JsonParser parser, DeserializationContext context) throws IOException, JsonProcessingException {
		System.out.println(parser.getText());
		return null;
	}

}
